package cn.net.shuxing.yifu.common.mapper;


import cn.net.shuxing.yifu.common.bean.DealHistory;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface DealHistoryMapper extends Mapper<DealHistory> {

    @Select("select * from deal_history where deleted = 0 and state = 0 and deal_scene = 1 order by id desc")
    List<DealHistory> getAllNewestWithoutComplete();
}

